package com.softeem.work.myw8;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/21 14:09
 * @description 日志类(编号，今日学习内容，掌握程度(了解，熟练，精通)，疑问，学生)
 */
public class Log {
    private static Integer id=1;
    private String content;
    private String zhangwo;
    private String question;
    private Student student;

    public Log() {
    }

    public Log(Integer id,String content, String zhangwo, String question, Student student) {
        this.content = content;
        this.zhangwo = zhangwo;
        this.question = question;
        this.student = student;
    }

    public static Integer getId() {
        return id;
    }

    public static void setId(Integer id) {
        Log.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getZhangwo() {
        return zhangwo;
    }

    public void setZhangwo(String zhangwo) {
        this.zhangwo = zhangwo;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return "Log{" +
                "id='" + id + '\'' +
                ", content='" + content + '\'' +
                ", zhangwo='" + zhangwo + '\'' +
                ", question='" + question + '\'' +
                ", student=" + student +
                '}';
    }
}
